﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="Admin_login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta charset="UTF-8">
    <title>Đăng nhập</title>
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
    <link href="<%=ResolveUrl("~/Admin/css/bootstrap.min.css") %>" rel="stylesheet" type="text/css" />
    <link href="<%=ResolveUrl("~/Admin/css/font-awesome.min.css") %>" rel="stylesheet" type="text/css" />
    <link href="<%=ResolveUrl("~/Admin/css/AdminLTE.css") %>" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%=ResolveUrl("~/Admin/js/jquery-1.8.3.js") %>"></script> 
    <script type="text/javascript">
        $(document).ready(function () {
            $("#imgRefresh").live("click", function () {
                RefreshCaptcha();
            });
        });
        function RefreshCaptcha() {
            var img = document.getElementById("imgCaptcha");
            img.src = "Captcha.ashx?query=" + Math.random();
        }
    </script>
</head>
<body class="bg-black">
    <form id="Form1" runat="server">
    <div class="form-box" id="login-box">
        <div class="header">Đăng nhập</div>
        <div class="body bg-gray">
            <div class="form-group">
                <div class="input-group">
                    <span class="input-group-addon">@</span>
                    <asp:TextBox ID="txtEmail" CssClass="form-control" runat="server" placeholder="Email"></asp:TextBox>
                </div>
            </div>
            <div class="form-group">
                <div class="input-group">
                    <span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span>
                    <asp:TextBox ID="txtPassword" CssClass="form-control" runat="server" placeholder="Mật khẩu" TextMode="Password">
                    </asp:TextBox>
                </div>
            </div>   
        </div>
        <div class="footer">                                                              
            <asp:Button ID="btnlogin" runat="server" CssClass="btn bg-olive btn-block" 
                Text="Đăng Nhập" onclick="btnlogin_Click" />
            <asp:Literal ID="ltrError" runat="server"></asp:Literal>
        </div>
    </div>
    </form>
    <script src="<%=ResolveUrl("~/Admin/js/bootstrap.min.js") %>" type="text/javascript"></script>
    <script src="<%=ResolveUrl("~/Admin/js/AdminLTE/app.js") %>" type="text/javascript"></script>
</body>
</html>
